//
//  AllocteListCell.m
//  SAP
//
//  Created by 中矿科技有限公司 on 17/9/14.
//  Copyright © 2017年 中矿科技有限公司. All rights reserved.
//

#import "AllocteListCell.h"

@implementation AllocteListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setFromAllocteListModel:(SATransferListMdoel *)model{
    self.senderName.text =model.senderName;
    self.receiptorName.text =model.receiptorName;
    self.transferCode.text =[NSString stringWithFormat:@"调拨编号: %@",model.transferCode];
    self.varietyName.text =[NSString stringWithFormat:@"品种: %@",model.varietyName];
    self.vaildStartorEndtime.text =[NSString stringWithFormat:@"有效日期: %@",model.vaildStartorEndtime];
    self.statusName.text =model.statusName;
}

@end
